import Http from "@/util/http";

/* 删除文章 */
export const delArticle = (params) => {
    return Http({
        url: '/art/page/admin-del',
        method: 'delete',
        params: {
            ...params
        }
    })
}

export const getPageList = (params) => {
    return Http({
        url: '/art/page/list',
        method: 'get',
        params
    })
}


export const getIndexHomePage = (params) => {
    return Http({
        url: '/art/page/index/showPage',
        method: 'get',
        params
    })
}
